<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>平台账户管理充值</title>
<link href="../tablecloth/tablecloth.css" rel="stylesheet" type="text/css" media="screen" />
<script type="../tablecloth/tablecloth.js"></script>
<script type="text/javascript" src="../Js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="../Js/haidao.offcial.general.js"></script>
<script type="text/javascript" src="../Js/select.js"></script>
<script type="text/javascript" src="../Js/haidao.validate.js"></script>
<script src="../My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="../Js/jquery-form.js"></script>
<script type="text/javascript" src="../Js/jsUtils.js"></script>
<script>
<% String account=request.getParameter("account"); %>
function check_form() {
	  if(document.form1.payMoney.value=="" || document.form1.rechargeType.value==""  ||  
		 document.form1.moneyNO.value=="" || document.form1.remark.value=="" ) { 
		   	 alert("请填写必填字段！");
		     return (false);
	   }
	   return(true);
	}
</script>
</head>

<body>
	<div>
		<div class="view-product">
			<div class="message-manage">
				<div class="manage-record margin-lr">
				<form name="form1" method="get" onSubmit="return check_form();" action="<%=request.getContextPath()%>/account/recharge.do">
					  <div id="back_body">&nbsp;&nbsp;
					  <input type="hidden" name="account" id="account" size="19" value="<%=account%>" style="width:300px;">
					  		<table border="1">
					  		  <tr>
					  		    <th>充值金额：</th>
					  		    <td align="left" ><input type="text" name="payMoney" id="payMoney" size="19" value="" style="width:300px;"></td>
					  		  </tr>
					  		  <tr>
					  		    <th>充值方式：</th>
					  		    <td align="left"><select name="rechargeType" id="rechargeType" style="width:300px">
							             <option value="">请选择</option>
							             <c:forEach items="${rechargeTypeList}" var="c">
											<option value="${c.value}">${c.valName}</option>
									     </c:forEach>
									 </select>&nbsp;&nbsp;</td>
					  		  </tr>
					  		  <tr>
					  		    <th>订单/流水号：</th>
					  		    <td align="left"><input type="text" name="moneyNO" id="moneyNO" size="19" value="" style="width:300px" ></td>
					  		  </tr>
					  		  <tr>
					  		  	<th>备注信息：</th>
					  		    <td align="left"><textarea rows="5" cols="50%" name="remark" id="remark"></textarea></td>
					  		  </tr>
					  		  <tr>
								<td colspan="2">
									<input type="submit" value="确定" />&nbsp;&nbsp;
									<input type="button" value="返回" onclick="javascript:window.history.back(-1);">
								</td>
					  		  </tr>
					  		</table>
					  </div>
			    </form>
				</div>
			</div>
		</div>
	</div>
</body>

</html>